﻿<%@ Page Title="主页" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="index.aspx.cs" Inherits="Viki1._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        .style1
        {
            width: 178px;
            height: 296px;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div class="banner_box">
	<div class="banner">
        <script src="Styles/jquery.aw-showcase.js" type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $("#showcase").awShowcase(
	{
	    content_width: 1920,
	    content_height: 295,
	    fit_to_parent: false,
	    auto: true,
	    interval: 3000,
	    continuous: true,
	    loading: true,
	    tooltip_width: 200,
	    tooltip_icon_width: 32,
	    tooltip_icon_height: 32,
	    tooltip_offsetx: 18,
	    tooltip_offsety: 0,
	    arrows: true,
	    buttons: true,
	    btn_numbers: true,
	    keybord_keys: true,
	    mousetrace: false,
	    pauseonover: true,
	    stoponclick: false,
	    transition: 'hslide',
	    transition_delay: 0,
	    transition_speed: 500,
	    show_caption: 'onload',
	    thumbnails: false,
	    thumbnails_position: 'outside-last',
	    thumbnails_direction: 'vertical',
	    thumbnails_slidex: 1,
	    dynamic_height: false,
	    speed_change: true,
	    viewline: false,
	    custom_function: null 
	});
    });
</script>
		  <div id="showcase" class="showcase">
            <div class="showcase-slide">
                <div class="showcase-content">
                    <a href="index.aspx" target="_blank"><img src="Styles/images/why/yingyu.jpg" /></a>
                </div>
            </div>
             
            <div class="showcase-slide">
                <div class="showcase-content">
                      <a href="index.aspx" target="_blank"><img src="Styles/images/why/phones.jpg" /></a>
                </div>
            </div>
           
           
		</div>
    	<div class="dl_banner">
       	  <div class="t_left"><img src="Styles/images/003.png" alt="" /></div>
            <ul>
			
            	<li class="li1"><input type="text" id="email" name="email"  value="E-mail" onfocus="if (value =='E-mail'){value =''}" onblur="if (value ==''){value='E-mail'}"  /></li>
                <li class="li2"><input  type="password" id="password" name="password" value="输入用户密码" onfocus="if (value =='输入用户密码'){value =''}" onblur="if (value ==''){value='输入用户密码'}"  /></li>
                
                <li class="li3"><input  id="mobile"  name="info[mobile]"  value="手机号码" onfocus="if (value =='手机号码'){value =''}" onblur="if (value ==''){value='手机号码'}"  /></li>
				<li class="li4"><input name="tj_code"  type="text"  value="推荐人手机号/推荐码/没有留空" onfocus="if (value =='推荐人手机号/推荐码/没有留空'){value =''}" onblur="if (value ==''){value='推荐人手机号/推荐码/没有留空'}"  /></li>
                <li class="li5"><a href="javascript:void(0);" ><input type="hidden" name='dosubmit' value='1' /><input type="submit" name='tijiao' value='' /></a></li>
			
            </ul>
      </div>
  </div>
</div>

<div class="h30"></div>
<div class="w989 bor1">
    <h1><span>为什么选择Viki英语？</span><span class="eng">Why us?</span></h1>
    <div class="why_box">
        <div class="bk_r"></div>
        <div class="bk_b"></div>
        <div class="bk_l"></div>
    
    	<ul>
        	<li><img id="why_bta" <img src="Styles/images/why_a.jpg" width="246" height="261" /></li>
            <li><img id="why_btb" src="Styles/images/why/功能.jpg" width="246" height="261" /></li>
            <li><img id="why_btc" src="Styles/images/why_c.jpg" width="246" height="261" /></li>
            <li><img id="why_btd" src="Styles/images/why/技术.jpg" width="246" height="261" /></li>
        </ul>
    
        <div id="why_a" class="why_info">
    		<div class="a1"><a href="#">个性外教</a></div>
            <div class="a2"><a href="#">多种层次</a></div>
            <div class="a3"><a href="#">术业专攻</a></div>
            <div class="a4"><img src="Styles/images/why_a.jpg" width="246" height="261" alt=""/></div>
    	</div>
        <div id="why_b" class="why_info">
    		<div class="b1"><a href="#">智能拼写</a></div>
            <div class="b2"><a href="#">语音输入</a></div>
            <div class="b3"><a href="#">在线翻译</a></div>
            <div class="b4"><img src="Styles/images/why/功能.jpg" alt="" width="246" height="261" /></div>
    	</div>
        <div id="why_c" class="why_info">
    		<div class="c1"><a href="#">无需预约</a></div>
            <div class="c2"><a href="#">随时开始</a></div>
            <div class="c3"><a href="#">不分昼夜</a></div>
            <div class="c4"><img src="Styles/images/why_c.jpg" width="246" height="261" /></div>
    	</div>
        <div id="why_d" class="why_info">
    		<div class="d1"><a href="#">IMALLE的实现</a></div>
            <div class="d2"><a href="#">解释功能与智能语法纠错</a></div>
            <div class="d3"><a href="#">人机对话策略的优化</a></div>
            <div class="d4"><img src="Styles/images/why/技术.jpg" width="246" height="261" /></div>
    	</div>
    </div>
</div>
<div class="h30"></div>
<div class="w989 bor1">
    <h1><div id="teach" good='1'><a style=" cursor:pointer;"></a></div><span>优秀外教</span><span class="eng">Excellent Teachers</span></h1>

    <ul id="teach1" class="pic_men" good='1'>
        <asp:ListView ID="ListView2" runat="server" DataKeyNames="teacher_id" 
            DataSourceID="SqlDataSource2" GroupItemCount="3">
            <AlternatingItemTemplate>
                        <li style="height:auto;"><a href="Teacher/TeacherDetail.aspx?teacher_id=<%#Eval("teacher_id") %>">
                    <img src="Styles/images/Teacher/teacher-1@2x.png" /><span><b><asp:Label ID="teacher_name"
                        runat="server" Text='<%#Eval("teacher_name") %>'></asp:Label></b><br />
                        <asp:Label ID="teacher_course" runat="server" Text='<%#Eval("teacher_course") %>'></asp:Label></span>
			</a></li>
            </AlternatingItemTemplate>
            <EditItemTemplate>
                <td runat="server" style="">
                    teacher_id:
                    <asp:Label ID="teacher_idLabel1" runat="server" 
                        Text='<%# Eval("teacher_id") %>' />
                    <br />teacher_name:
                    <asp:TextBox ID="teacher_nameTextBox" runat="server" 
                        Text='<%# Bind("teacher_name") %>' />
                    <br />teacher_course:
                    <asp:TextBox ID="teacher_courseTextBox" runat="server" 
                        Text='<%# Bind("teacher_course") %>' />
                    <br />
                    <asp:Button ID="UpdateButton" runat="server" CommandName="Update" Text="更新" />
                    <br />
                    <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" Text="取消" />
                    <br />
                </td>
            </EditItemTemplate>
            <EmptyDataTemplate>
                <table runat="server" style="">
                    <tr>
                        <td>
                            未返回数据。</td>
                    </tr>
                </table>
            </EmptyDataTemplate>
            <EmptyItemTemplate>
<td runat="server" />
            </EmptyItemTemplate>
            <GroupTemplate>
                <tr ID="itemPlaceholderContainer" runat="server">
                    <td ID="itemPlaceholder" runat="server">
                    </td>
                </tr>
            </GroupTemplate>
            <InsertItemTemplate>
                <td runat="server" style="">
                    teacher_id:
                    <asp:TextBox ID="teacher_idTextBox" runat="server" 
                        Text='<%# Bind("teacher_id") %>' />
                    <br />teacher_name:
                    <asp:TextBox ID="teacher_nameTextBox" runat="server" 
                        Text='<%# Bind("teacher_name") %>' />
                    <br />teacher_course:
                    <asp:TextBox ID="teacher_courseTextBox" runat="server" 
                        Text='<%# Bind("teacher_course") %>' />
                    <br />
                    <asp:Button ID="InsertButton" runat="server" CommandName="Insert" Text="插入" />
                    <br />
                    <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" Text="清除" />
                    <br />
                </td>
            </InsertItemTemplate>
            <ItemTemplate>
                <li style="height:auto;"><a href="Teacher/TeacherDetail.aspx?teacher_id=<%#Eval("teacher_id") %>">
                    <img src="Styles/images/Teacher/teacher-1@2x.png" /><span><b><asp:Label ID="teacher_name"
                        runat="server" Text='<%#Eval("teacher_name") %>'></asp:Label></b><br />
                      <asp:Label ID="teacher_course" runat="server" Text='<%#Eval("teacher_course")%>'  ></asp:Label></span>
			</a></li>
				
            </ItemTemplate>
            <LayoutTemplate>
                <table runat="server">
                    <tr runat="server">
                        <td runat="server">
                            <table ID="groupPlaceholderContainer" runat="server" border="0" style="">
                                <tr ID="groupPlaceholder" runat="server">
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr runat="server">
                        <td runat="server" style="">
                        </td>
                    </tr>
                </table>
            </LayoutTemplate>
            <SelectedItemTemplate>
                <td runat="server" style="">
                    teacher_id:
                    <asp:Label ID="teacher_idLabel" runat="server" 
                        Text='<%# Eval("teacher_id") %>' />
                    <br />teacher_name:
                    <asp:Label ID="teacher_nameLabel" runat="server" 
                        Text='<%# Eval("teacher_name") %>' />
                    <br />teacher_course:
                    <asp:Label ID="teacher_courseLabel" runat="server" 
                        Text='<%# Eval("teacher_course") %>' />
                    <br />
                </td>
            </SelectedItemTemplate>

        </asp:ListView>
							<asp:SqlDataSource ID="SqlDataSource2" runat="server" 
            ConnectionString="<%$ ConnectionStrings:vikiConnectionString2 %>" 
            SelectCommand="SELECT [teacher_id], [teacher_name], [teacher_course] FROM [Teacher]">
        </asp:SqlDataSource>
							</ul>
	
		
		
		

   
    <div class="h10"></div>
</div>
<div class="h30"></div>
<div class="w989 bor1">
    <h1><span>开设课程</span><span class="eng">Courses</span></h1>
    <ul class="pic_kc">
    	
    	<li><a href="Course/CourseDetail.aspx?course_name='日常英语'"><img src="Styles/images/010.png" /><div class="eng">Daily</div><div class="title">
            日常英语</div></a></li>
        <li><a href="Course/CourseDetail.aspx?course_name='四六级英语'"><img src="Styles/images/011.png" /><div class="eng">
            Comprehensive</div><div class="title">四六级英语</div></a></li>
        <li><a href="Course/CourseDetail.aspx?course_name='TOFEL英语'"><img src="Styles/images/012.png" /><div class="eng">To go abroad</div><div class="title">
            TOFEL英语</div></a></li>
        <li><a href="Course/CourseDetail.aspx?course_name='商务会话英语'"><img src="Styles/images/013.png" /><div class="eng">Business</div><div class="title">商务会话英语</div></a></li>
        <li><a href="Course/CourseDetail.aspx?course_name='高考英语'"><img src="Styles/images/014.png" /><div class="eng">Exam</div><div class="title">高考英语</div></a></li>
        <li><a href="Course/CourseDetail.aspx?course_name='雅思英语'"><img src="Styles/images/015.png" /><div class="eng">IELTS</div><div class="title">雅思英语</div></a></li>
       
    </ul>
    <div class="clear"></div>
    <div style="height:5px;"></div>
</div>
<div class="h30"></div>
<div class="w989 bor1">
	<div class="right w497">
    		<h1><div class="more"><a href="ReviewList.aspx">更多>></a></div><span>学员心声</span><span class="eng">What Students Say</span></h1>
        <div style="width:477px; height:370px; overflow:hidden;">
            <div id="stu" class="stu">
                            <ul>
                                <asp:ListView ID="ListView1" runat="server" DataKeyNames="comment_id" 
                                    DataSourceID="SqlDataSource1" GroupItemCount="1">
                                    <AlternatingItemTemplate>
                                             <li>
                    <a href="ReviewDetail.aspx">
                        <div class="info"><div>
                            <asp:Label ID="comment_title" runat="server" Text='<%#Eval("comment_title") %>' Font-Size="12px"></asp:Label></div>
                            <asp:Label ID="comment_content" runat="server" Text='<%#Eval("comment_content") %>' Font-Size="10px"></asp:Label>  </div>
                        <div class="pic_box"><asp:Image
                                ID="user_image" runat="server"  ImageUrl='<%#Eval("user_image") %>' Width="80" Height="85"/></div>
                    </a>
                    </li>
                                    </AlternatingItemTemplate>
                                    <EditItemTemplate>
                                        <td runat="server" style="">
                                            comment_id:
                                            <asp:Label ID="comment_idLabel1" runat="server" 
                                                Text='<%# Eval("comment_id") %>' />
                                            <br />user_id:
                                            <asp:TextBox ID="user_idTextBox" runat="server" Text='<%# Bind("user_id") %>' />
                                            <br />comment_title:
                                            <asp:TextBox ID="comment_titleTextBox" runat="server" 
                                                Text='<%# Bind("comment_title") %>' />
                                            <br />comment_content:
                                            <asp:TextBox ID="comment_contentTextBox" runat="server" 
                                                Text='<%# Bind("comment_content") %>' />
                                            <br />user_image:
                                            <asp:TextBox ID="user_imageTextBox" runat="server" 
                                                Text='<%# Bind("user_image") %>' />
                                            <br />user_nickname:
                                            <asp:TextBox ID="user_nicknameTextBox" runat="server" 
                                                Text='<%# Bind("user_nickname") %>' />
                                            <br />
                                            <asp:Button ID="UpdateButton" runat="server" CommandName="Update" Text="更新" />
                                            <br />
                                            <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" Text="取消" />
                                            <br />
                                        </td>
                                    </EditItemTemplate>
                                    <EmptyDataTemplate>
                                        <table runat="server" style="">
                                            <tr>
                                                <td>
                                                    未返回数据。</td>
                                            </tr>
                                        </table>
                                    </EmptyDataTemplate>
                                    <EmptyItemTemplate>
<td runat="server" />
                                    </EmptyItemTemplate>
                                    <GroupTemplate>
                                        <tr ID="itemPlaceholderContainer" runat="server">
                                            <td ID="itemPlaceholder" runat="server">
                                            </td>
                                        </tr>
                                    </GroupTemplate>
                                    <InsertItemTemplate>
                                        <td runat="server" style="">
                                            comment_id:
                                            <asp:TextBox ID="comment_idTextBox" runat="server" 
                                                Text='<%# Bind("comment_id") %>' />
                                            <br />user_id:
                                            <asp:TextBox ID="user_idTextBox" runat="server" Text='<%# Bind("user_id") %>' />
                                            <br />comment_title:
                                            <asp:TextBox ID="comment_titleTextBox" runat="server" 
                                                Text='<%# Bind("comment_title") %>' />
                                            <br />comment_content:
                                            <asp:TextBox ID="comment_contentTextBox" runat="server" 
                                                Text='<%# Bind("comment_content") %>' />
                                            <br />user_image:
                                            <asp:TextBox ID="user_imageTextBox" runat="server" 
                                                Text='<%# Bind("user_image") %>' />
                                            <br />user_nickname:
                                            <asp:TextBox ID="user_nicknameTextBox" runat="server" 
                                                Text='<%# Bind("user_nickname") %>' />
                                            <br />
                                            <asp:Button ID="InsertButton" runat="server" CommandName="Insert" Text="插入" />
                                            <br />
                                            <asp:Button ID="CancelButton" runat="server" CommandName="Cancel" Text="清除" />
                                            <br />
                                        </td>
                                    </InsertItemTemplate>
                                    <ItemTemplate>
                                          <li>
                    <a href="ReviewDetail.aspx">
                        <div class="info"><div>
                            <asp:Label ID="comment_title" runat="server" Text='<%#Eval("comment_title") %>' Font-Size="12px"></asp:Label></div>
                            <asp:Label ID="comment_content" runat="server" Text='<%#Eval("comment_content") %>' Font-Size="10px"></asp:Label>  </div>
                        <div class="pic_box"><asp:Image
                                ID="user_image" runat="server"  ImageUrl='<%#Eval("user_image") %>' Width="80" Height="85"/></div>
                    </a>
                    </li>
                                    </ItemTemplate>
                                    <LayoutTemplate>
                                        <table runat="server">
                                            <tr runat="server">
                                                <td runat="server">
                                                    <table ID="groupPlaceholderContainer" runat="server" border="0" style="">
                                                        <tr ID="groupPlaceholder" runat="server">
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr runat="server">
                                                <td runat="server" style="">
                                                </td>
                                            </tr>
                                        </table>
                                    </LayoutTemplate>
                                    <SelectedItemTemplate>
                                        <td runat="server" style="">
                                            comment_id:
                                            <asp:Label ID="comment_idLabel" runat="server" 
                                                Text='<%# Eval("comment_id") %>' />
                                            <br />user_id:
                                            <asp:Label ID="user_idLabel" runat="server" Text='<%# Eval("user_id") %>' />
                                            <br />comment_title:
                                            <asp:Label ID="comment_titleLabel" runat="server" 
                                                Text='<%# Eval("comment_title") %>' />
                                            <br />comment_content:
                                            <asp:Label ID="comment_contentLabel" runat="server" 
                                                Text='<%# Eval("comment_content") %>' />
                                            <br />user_image:
                                            <asp:Label ID="user_imageLabel" runat="server" 
                                                Text='<%# Eval("user_image") %>' />
                                            <br />user_nickname:
                                            <asp:Label ID="user_nicknameLabel" runat="server" 
                                                Text='<%# Eval("user_nickname") %>' />
                                            <br />
                                        </td>
                                    </SelectedItemTemplate>
                                </asp:ListView>
                                   <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                                    ConnectionString="<%$ ConnectionStrings:vikiConnectionString2 %>" 
                                    SelectCommand="SELECT c.comment_id, c.user_id, c.comment_title, c.comment_content,  u.user_image,  u.user_nickname FROM Comment AS c INNER JOIN [User] AS u ON c.user_id = u.user_id">
                                </asp:SqlDataSource>
                                   </ul>
                            </div>
        </div>
    </div>
	<div class="left w460">
    	<h1><div class="more"><a href="App.aspx">更多>></a></div><span>手机应用</span><span class="eng"> APP</span></h1>
        <div class="h290">
                	<div class="appimage" style="width:200px;height:300px">
                    <img alt="" class="style1" src="Styles/images/phones.png" />
                        
                       
                     
                        
                    </div>
                   <div class="shuoming" 
                        style="float:right;margin-top:-300px; ;width:260px;height:569px">
                       <div id="description">
                           
                           <p>
                               &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                               Viki智能外教是一款好玩又有效的英语学习应用，让你在轻轻松松的对话聊天之间，掌握如何用英语进行交流。再也不怕“想说却说不出口”的尴尬！</p>
                           <p>
                               &nbsp;</p>
                           <p style="margin-top:-5px;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 身边没有外教老师，没有机会和外国朋友交流？想要参加英语角，又担心自己的口语不过关，想说却说不上来？使用Viki，让你早日摆脱窘境，流利“说英语”！</p>
                           <p style="margin-top:-5px;">
                               &nbsp;</p>
                           <p style="margin-top:-5px;">
                               &nbsp;</p>
                           <p style="margin-top:-5px;">
&nbsp;&nbsp;&nbsp;&nbsp; Viki智能外教基于智能自改进系统，你聊的时间越长，她会越智能判断并且调整和您聊天的英语水平和内容，从而实现真正的“因材施教”。</p>
                       </div>
                    </div>
       
                    </div>
                    </div>
                   
    <div class="clear"></div>
</div>
<div class="w989 bor1">
	<div class="clear"></div>
</div>
<div class="h30"></div>
<div class="w989 bor1">
    <div id="link" class="link_box">
        <a class="aleft" ><img src="Styles/images/018.png" /></A>
        <div class="link_picbox">
            <ul>
                                	<li>
                    <div class="link_info_box">
                         <h1>Viki英语：便捷高效廉价才是硬道理</h1>    教育是传承人类文明、传播文化知识... 
                        <div><a href="News1.aspx">更多>></a></div>
                    </div>
                    <a href="News1.aspx"><img  width=102 height=59 src="Styles/images/News/20131207015941779.jpg" /></a>
				</li>
                        	<li>
                    <div class="link_info_box">
                        <h1>Viki英语真正把“中国好教育”做到位</h1>新闻来源截图 随着改革开放的深入，民办教... 
                        <div><a href="News2.aspx">更多>></a></div>
                    </div>
                    <a href="News2.aspx"><img  width=102 height=59 src="Styles/images/News/20131207020104934.jpg" /></a>
				</li>
                        	<li>
                    <div class="link_info_box">
                        <h1>Viki英语：解决聋哑英语问题，把好脉更要开对处方</h1> 教育本是培养人的一种社会活动，是传承社... 
                        <div><a href="News3.aspx">更多>></a></div>
                    </div>
                    <a href="News3.aspx"><img  width=102 height=59 src="Styles/images/20140104054927724.jpg"/></a>
				</li>
                <li>
                    <div class="link_info_box">
                        <h1>Viki英语  给孩子一个新机会</h1>幸福的家庭都是相似的，而不幸的家庭各有各... 
                        <div><a href="News4.aspx">更多>></a></div>
                    </div>
                    <a href="News4.aspx"><img  width=102 height=59 src="Styles/images/20140109054336584.jpg"/></a>
				</li>
                
                        	<li>
                    <div class="link_info_box">
                        <h1>Viki英语，引领在线style</h1>韩国歌手鸟叔PSY凭借自己的一曲《江南style... 
                        <div><a href="News5.aspx">更多>></a></div>
                    </div>
                    <a href="News5.aspx"><img  width=102 height=59 src="Styles/images/20140104025509628.jpg"/></a>
				</li>
                        
                        	
                        	<li>
                    <div class="link_info_box">
                        <h1>Viki英语：为你的学习“系上安全带”</h1>为了保证行车中乘客的安全，国家规定乘坐大... 
                        <div><a href="News6.aspx">更多>></a></div>
                    </div>
                    <a href="News6.aspx"><img  width=102 height=59 src="Styles/images/News/20131207015343565.jpg"/></a>
				</li>
                        	
                                </ul>
        </div>
        <a class="aright" ><img src="Styles/images/019.png" /></A>
	</div>
</div>


</asp:Content>
